import { ApiProperty } from '@nestjs/swagger';

export class CreateArticleDTO {
  @ApiProperty({
    description: '标题',
  })
  readonly title: string;
  @ApiProperty({
    description: '作者',
  })
  readonly author_name: string;
  @ApiProperty({
    description: '创建时间',
  })
  readonly creat_time: Date;
}
